package com.pay.common.util.other;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

@Data
public class Aa {
    private String aa;
    private String bb;


    public static void main(String[] args) {
        List<String> a = new ArrayList();
        a.add("1");
        a.add("2");
        a.add("3");
        a.add("4");
        a.add("5");
        List<String> collect = a.stream().limit(900).collect(Collectors.toList());
        System.out.println(JSON.toJSON(collect));
    }
}
